package org.dromara.erp.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;

/**
 * 资产分类对象 erp_asset_category
 *
 * @author Mr Lei
 * @date 2024-06-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_asset_category")
public class ErpAssetCategory extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 父级ID
     */
    private Long parentId;

    /**
     * 分类名称
     */
    private String name;

    /**
     * 排序
     */
    private Long sort;


}
